package interview.CooperateSystem.Server.handler.impl;

import interview.CooperateSystem.Server.entity.ServerMessage;
import interview.CooperateSystem.Server.Visitor;
import interview.CooperateSystem.Server.handler.ServerHandler;
import interview.CooperateSystem.common.entity.Message;

/**
 * Created by angela on 6/6/2014.
 */
public class CppHandler extends ServerHandler {
    @Override
    public ServerMessage translateMessage(Message message) {
        return null;
    }

    @Override
    public void processMessage(ServerMessage message) {
        for(Visitor visitor : getVisitors()){
            visitor.accept(message);
        }
    }
}
